package com.chinalanshen.componentScan;

import java.util.UUID;

import org.spring.fusion.boot.TestServiceImple;
import org.spring.fusion.boot.TestServiceImple2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
	
	@Autowired
	private TestServiceImple testServiceImple;
	
	@Autowired
	private TestServiceImple2 testServiceImple2;
	
	@GetMapping("test")
	public String test() {
		System.out.println(testServiceImple);
		System.out.println(testServiceImple2);
		return UUID.randomUUID().toString();
	}
}
